The post processor is chosen when you export the gcode from V-carve. It formats the gcode for specific machines. UGS is a gcode sender.
If there’s nothing before the M3 line on the gcode, if go back to asking how you’re setting your Z-zero. And is the work zero at the top of the piece in V-carve?