Should be in the PEOF function somewhere. Make a backup before you start editing.
HTML Code:
peof #End of file for non-zero tool
iseof = 1
pretract
iseof = 0
spaces=0
comment
spaces=sav_spc
#Remove pound character to output first tool with staged tools
#if stagetool = one, pbld, n, *first_tool, e
n, "G52", "X-40.", e
if stagetool <> 0, pbld, n, "M06", e
#if t <> first_tool, n, first_tool, "M06", e
if sav_mi3 = 1, n, "M33", e
n, "M30", e
mergesub
clearsub
mergeaux
clearaux
"%", e