Fixed a bug causing migrate action to ignore passed live/offline and print flags
Code cleanup