Configured the app to work on heroku