Made pg work on heroku