Make bin scripts work on our mac