Revise homebrew install. Add osx options. More functions.