I've had that happen to me when I did copy & paste on scripts before. Look at your script with nano and see if you can see something a little extra in there.