add run command for mac os x