add directory output