Prepares app for Heroku