brew cleanup added to up function