polishing VT6 migration script