improved error handing, more brew commands