Adapt config for heroku