Mac shell script