added nvm support
added nvm support