Endless printing. Adding wiping nozzle after pushing print off

I’m printing small models in a vase mode with PETG on A1 mini. I’ve customized Orca’s gcode of a 1pc print with a “push off” code:

;===== Hit the model off the bed Start==============

G28 X; Park X pos
G0 Y160; Move table 160mm to front
G0 X90; Move head 90mm to right
G90; Switch to global coordinates
G1 Z55; Lower the head to 55mm under the last layer
G1 Y0 F10000; Hit the model

;===== Hit the model off the bed End==============

It goes right before the “Machine end g-code”. Then, I repeated all code from last 3 rows of “Machine start g-code” to the “pushing off” part:

;==========time to fly===========
G0 Z1 F30000
G0 X150 Z2 F30000

;==Model gcode goes here==

;== Push off code goes here ==

But there is a small fragment (about 10mm) of the filament pulled out from the nozzle, and printing of the new model starts with this fragment.

I need help to add a bit wiping of the nozzle on steel and rubber after pushing off the model.

Please :pray: