diff --git a/cost_function.py b/cost_function.py
index ab976ff80ed9a5d32005405d86d3d00843a4297e..4058f2f4351aa1bfcf782ae2dc60d804862f56da 100755
--- a/cost_function.py
+++ b/cost_function.py
@@ -303,9 +303,9 @@ for edge in g.edges():
 
 #g.save("segments_cyclo_gl_cf.xml")
 #print("Done writing xml.")
-g.save('segmented_cf.gt')
 print("Done writing gt.")
 #g.save('segmented_cf.gv', fmt = "dot")
 #print("Done writing dot file.")
 
+g.save('segments_cost_functions.gt')
 print('All done')