Modified Gcode generate file.