Config fixed to work with heroku