modified settings to run differently on heroku and local