modify daemon start/stop script