Add support for nvm