Changed from mySQl2 to sqlite3