Change the way directory structure is being created