add support for npm installs