directory discovery now working