Added random offset
Fixed worker change bug