changed to explicit PWD, apparently __dirname doesnt work
added npm version to package.json per stackoverflow