Moved create_schema from below so that it matches the export order.