change if scripts