prepares the app for heroku