added ability to distrubute number of workers across hosts