add pg and rails factor for heroku