The run function does not work with scripts containing parfor loops. Simply invoke the script directly by name. If the script is in a different directory, change directory there first. Perhaps something like this:
scriptName = '/some/path/to/myscript.m';
scriptDir = fileparts(scriptName);
cd(scriptDir);
myscript % just call directly.