Linefeeds in files created by Notepad are most certainly a problem, and they can render your script inoperative.
That, and permissions (the directory the script is in, as well as the scripts itself, should be set to 755). If your script was prepared in notepad, you can convert the line endings using the dos2unix command from the command line. Do this, and try again, and it may fix your problem.
--DreamHost Tech Support