adjust directory management