added directory analyser, and some interplay