cleaning up start up script to account for failed daemon processes