modified config to work with heroku