added conditional for brew stuff