corrections to create_db.sh script