added a bunch of stuff for OSX customization