Miguel's verison of db_create.py