changed config to be heroku-friendly