added npm logging