scripting colour changes