Minor fixes

This will fix a my last PR. It now successfully installs nvm and any packages.