Improved directories output