New functions and osx settings