String formatting and fix to homebrew installation.