updated check for dircolors