Pretty heavy migr, script for the diffult ones