add support SwitchNode at bash