fixed homebrew script