added support for directory coloring