Added check for ANSI color support for echo