make the app work on heroku