added support for more colors
Changed detection for green