pulling rejester_worker out from the  Cmd tool that was having trouble
with logging