fixed run.py for heroku