Fix logging and bumped up NPM version