Setup functions and brew cask