Optimized the service image and alos fixed the serf agent event handlers