Revised sun model file to point to database on heroku if available; otherwise default to local db