add install method for Mac OS X