agent will create all the directories