script to detect changes in colour