Saving in grasshopper

Hi,

I’m facing a problem that I can’t seem to resolve.

I’ve created a Python script for Rhino that reads a JSON file and updates the corresponding values in Grasshopper. However, when I run the Grasshopper script using GrasshopperPlayer, it doesn’t work unless I save the Grasshopper file after making these changes.

Do you have any suggestions on how i can make it work?