Fixed config to work on heroku with AWS