query-linked directories kinda sorta working