setting appDir in cask