Problem running .sh scripts on windows

Yes. But as a last attempt try changing the shell script to Unix EOL