I noticed within the gcode that the first steps involve homing the axes...
M104 S130 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
Before the print I do this using the printer itself, so there is no need to redo it, also the gcode is causing it to home the z axis on the wrong side of the bed (sensor is on the opposite side) if that is whats going on. Not sure if this is part of the problem or not.