modified to remove npm publish
added message writer