polishing migration script