updated migration script for Page migration