Update cakefile to work on npm installation scripts