apply_schema.py