added and remote switch to the worker spec