added some more OSX stuff