Pushed up brew install to earlier in the script.