added config save to Migrate_To and Migrate_From

config changes will not be preserved on migration without this change.
Merge pull request #459 from oshikore/master

added config save to Migrate_To and Migrate_From