Use unix line endings in the python script and don't use the direct python path.