more fixes and changes to package.json template