add homebrew check and install