add pkg and update Homebrew script