Modified settings to use sqlite3