added pg and railsfactor for heroku