configures the app to work on heroku