updated settings.py for heroku/local integration