added brew dr to the homebrew script and move node/nmp installs to tail end of installs