fixing 2nd Heroku issue - error on line 8 run.py app was being called before declared