added 'migrate-modules' subcommand.