updated brew script