Ok, NTDOC was right, it was the Z drive mapping issue. I was stepping through it to find the error, and it was crashing at the $NAVHome line before I changed the drive letter. I changed it to Q and it works fine now.

So, anyone know why it was not crashing until ~12 lines after the problematic line in the script?

Thanks again for all the help...