Make Python scripts work on Heroku