make RunJob os independent