adding auto directory creation; npm install