Add save variable to main.json

I don't know why but my previous commit is showing here again. Is it ok or should I close this PR and remove it?