Added os check before installing osx settings