setup bash script for MacOS services