Added multiway switch scripts