add run script for mac os x