Hey Jenn, you can splice the g-code but you have to be very careful when doing this. I would start here to understand editing code.
Next you should keep this startup code…
The next line “G0 X186.686 Y17.360 Z5.080” is a rapid move to X,Y, and Z locations. I would search your code to find another “Z5.080” or something above Z0 so it is not going to crash into your work piece.