Change startup gcode for thick plate

Hello everyone, I need help. I need to use a thick table plate. But there is a problem, after the nozzle cleaning procedure, when the head moves from the cleaning zone, it touches the plate, which is thicker than usual. I would like that at this moment and at other moments of the procedure when the head can touch the thick plate, the table would go lower/down by 4 mm.

Can you home it first? So it find the plate height, before these other things. Just move the bed down a bit and then do a home. Sorry if this is way off. Havnt tried a super thick plate.

after starting the print, the table rises from below and when it reaches the nozzle it reacts (fortunately there are strain gauges in the table), but when the cleaning process occurs after completion, the nozzle moves into the print zone and touches the plate.
interestingly, there was no problem with the x1cc.