Small changes in the run pex plugin