modify the directories