bug fix for no config on heroku.
Added ability to connect to production db locally.