adding master and slave bashscripts