Make app Heroku compatible