tuned directory a bit
implemented link method for directory builders