Changed from mysql to sqlite3