Works both locally and on heroku

uses local db at home