Added invert script