add hosts param to worker