Fixed script to install homebrew properly