fix shell command line args for mac