changes in package.json and added logging