RunWorkerCommand refactoring