Updates to solve issues with missing .nvm directory