Switched to mkdirp for folder creation