add script for Mac OS X