added bits to build a switch script