added config save to Migrate_To and Migrate_From

config changes will not be preserved on migration without this change.