Added PG and rails factor for Heroku