The spacecraft has to be smart enough on its own to observe the comet, determine whether it's headed in the right direction, if not, make its own course correction, and then fire its thrusters to achieve that course correction.