Modified to install homebrew as first step in installation