add command switch in process