Combine the new sqlite3 database scripts into one