Added stupid SQLite stuff