added daemon control script for osx