 'if' creates the switches of your Xtscripts