Add maximizing XOR script.