Added some mac stuff.