configured the application to work on Heroku