Engineers are waiting on a vessel a safe distance away in case the landing doesn't go well. Then they go in and weld the feet once the rocket has vented the leftover LOX (Liquid Oxygen). I think they are also attaching guide wires to the top, but i can't confirm that.