switched mkdir to mkdirp
switched mkdir to mkdirp