Added worker ID passing to node code