Revert "Fixed issue with switching colors in script + a few changes"

This reverts commit 46ff33c6ee9942038c352357c0068f2484a73f57.