There are pegs for the microswitch to sit on, but I found them to be a little delicate so I just added some glue to the switch.
Use m3x45mm screws to replace the existing 40mm countersunk ones.
STEP file included
Supports necessary
Gcode I used for prusaslicer after layer change:
;AFTER_LAYER_CHANGE
G1 F9000 X5 Y215
G1 F1000 X0
G4 P700
G1 F9000 X5
;{layer_z}
The author marked this model as their own original creation.