That's weird. I changed nothing in the code that actually executes the script. (In fact, it just calls /bin/sh to do it. My app never even looks at the data in the script file.) Did you add any commands to the script? If the call to your app was the last line in the script, then it might not have been followed by the errant Ctrl-M.
_________________________
Bitt Faulk