Fixed up sqlite 3 to work with Heroku