added switch-action

Emergency callout added to switch actions. Some cleaning.