Added color changing functionality to script.