Yeah, you’re missing a few steps, the most important being replacing the broken wiring and re-installing the entire auto-focus mechanism.
Just use the 8mm gauge block to set the distance between the nozzle and material. Easiest way is to loosen the focal tube, let it touch the top of the block, then re-tighten it.