Changed the location in the code where the make directories are created