add bash script for mac