mac bash scripts