Revert to using sqlite3