adding support for global npms