Updated migration script and tasks.