updated package for publishing to npm