improves config for osx