fix tree building, adds agency director group