Can you change some code so that instead of Z retract code (like Z-1) it writes M03 (Spindle ON) and instead of Z0 it writes M05 (Spindle OFF).