add directory analysis