change the directories' structure