adding changes for osx