modify config to work with heroku