Added option to invert redstone output