Added invert setting