add precompile for Heroku
added function for sqlite3