update for new libhf2gcode