adding more proof way to check the path
more cross platform way of colored output
adding test for COWPATH or fallback dir