diff --git a/Trajectories/trajectories.py b/Trajectories/trajectories.py
index 2ae477f6e40cfe012b47ca34cb4dd17490cd7ae3..8458a3abd7792deb2797f440b3308a1108718921 100755
--- a/Trajectories/trajectories.py
+++ b/Trajectories/trajectories.py
@@ -203,7 +203,8 @@ with open("traj_segm.json", "w") as outfile:
 print("Created traj_segm.json.")
 
 with open("expanded_traj.json", "w") as outfile:
-    json.dump({"e_overestim": g.gp.e_overestim, "traj": expanded_traj},
+    json.dump({"orientation": g.gp.orientation,
+               "e_overestim": g.gp.e_overestim, "traj": expanded_traj},
               outfile, separators = (',', ':'))
 
 print("Created expanded_traj.json.")