Work on the "add headend" routine.