US5976 migration script