Added tag and script notation for switch-case.