modified config to work with Heroku