updated to make ls and color work cross platform