Script to start/stop daemon