directory rearrangement