shell scripts for macosx