add directory resources