add a flag to enable ANSI color