Finished up converting createDb.py