changed from bsddb3 to pysqlite