adjust the directories