Shared Parameters without Excel file

I have been trying to avoid Excel and created my Shared Parameters with the following nodes. But they disappear from element properties when I close the script (Yes, they are still in the shared parameter file). Should I assign them again separately?

I was actually trying to assign values to shared parameters with the second script, but as I lost the parameters, I got stuck. I f I delete my sharedparameter text file. I can rerun the code to make them reappear. Could you guide me what did I do wrong, please?