use variables for the directories involved