updating homebrew installation script and automating user input during homebrew install