Added some osx stuff