Added Heroku support for Postgres connection