I have been trying to modify some code for my prints by adding a M600 command to change filament. I got it to work once by just putting the filament in the actual code. I have been trying on another print but cannot get it to work! I just sits in one spot and extrudes a huge mess of filament.

Here is a section of the code. I added the M600 right before the printer starts the fill section of the top layer. I want this to be a different color.

Code:
G1 X189.521 Y94.348 E1544.45744G1 X190.463 Y94.995 E1544.47148
G1 X191.309 Y95.762 E1544.48552
G1 X192.053 Y96.643 E1544.49969
G1 X192.681 Y97.628 E1544.51404
G1 X193.172 Y98.676 E1544.52827
G1 X193.525 Y99.793 E1544.54266
G1 X193.732 Y100.944 E1544.55704
G1 X193.788 Y102.12 E1544.5715
G1 X193.788 Y197.87 E1545.74823
G1 X193.732 Y199.056 E1545.76282
G1 X193.525 Y200.206 E1545.77718
G1 X193.172 Y201.323 E1545.79158
G1 X192.681 Y202.372 E1545.80581
G1 X192.053 Y203.356 E1545.82016
G1 X191.309 Y204.237 E1545.83433
G1 X190.463 Y205.004 E1545.84836
G1 X189.521 Y205.651 E1545.86241
G1 X188.498 Y206.164 E1545.87647
G1 X187.431 Y206.527 E1545.89032
G1 X186.325 Y206.741 E1545.90417
G1 X185.181 Y206.8 E1545.91825
G1 X114.819 Y206.8 E1546.78296
G0 F10500 X114.745 Y205.82
M600
; TYPE:FILL
G1 F3600 X107.138 Y198.214 E1546.91517
G0 F10500 X107.221 Y197.731
G1 F3600 X106.762 Y197.272 E1546.92314
G0 F10500 X107.121 Y197.065
G1 F3600 X115.881 Y205.825 E1547.07539
G0 F10500 X115.739 Y206.248
G1 F3600 X115.215 Y205.725 E1547.08449
G0 F10500 X115.315 Y205.825
G1 F3600 X107.121 Y197.63 E1547.22691
G0 F10500 X107.121 Y196.499
G1 F3600 X116.447 Y205.825 E1547.389
G0 F10500 X117.012 Y205.825
G1 F3600 X107.121 Y195.933 E1547.56091
G0 F10500 X107.121 Y195.367
G1 F3600 X117.578 Y205.825 E1547.74267
G0 F10500 X118.144 Y205.825
G1 F3600 X107.121 Y194.802 E1547.93425
G0 F10500 X107.121 Y194.236
G1 F3600 X118.709 Y205.825 E1548.13566
G0 F10500 X119.275 Y205.825
G1 F3600 X107.121 Y193.67 E1548.3469
G0 F10500 X107.121 Y193.105
G1 F3600 X119.841 Y205.825 E1548.56798
G0 F10500 X120.406 Y205.825