Update the script to conform to more recent Homebrew standards.
Add note about original source of the homebrew script.