changes made to make osx work better