There is an exception when running the command "migration.bat"