edited pg version, added 12factor gem for heroku