Fixes for osx settings and modified casks