Modifed for Heroku (pg instead of SQLite in Production)