Migrate with modes