changed mkdir in index.js