replaced fatalExit function for 'inline' exit exit on errors (set -e) simplified if for NVM_DIR and NVM_SOURCE, corrected indentation