No modification required to PP the code gets entered into the settings on the controller. For this version just copy and paste everything into the tool_change dialogue box and it will run automatically when file calls for a M6.
I’ve been using the 2.0 version that is linked here for several weeks. It measures the first tool at the beginning of the file and then only has to measure the each subsequent tool when you make the change instead of probing both tools at tool change. Drawback is if using the laser the code in the program_start dialogue has to be disabled on the 2.0 version. I’m likely going to switch back to this version that measures both tools when the M6 is called now that I have my laser.
Keep in mind the machine must be homed for this to work properly. And I’ve only tested with 1.0.5 firmware.