changed ifdeftoif script for new option name 'simpleSwitch'