Consolidate create_upgrade scripts