refactored scripts to use homebrew cask for app installation