I see you are calling your script from the netlogon share. Are you sure that it has replicated from the export directory OK?

As a simple test, create a new file from scratch on a local drive (C: or whatever) and call it. Perhaps you have an odd character lurking in the original script file.