Improve osx config