conditional osx tweaking