configures app for Heroku deployment