changed to rm -f environment file and reorder PATH for nvm