update settings to work better with heroku