Updated OS X scripts