begin osx settings script