Have to reload Midi Remote script every time I start the program?

How could I find the answer of that to tell you?

It is this script:

But yeah every time I restart the program, I have to manually “import script”, and then it instantly works. It’s like it isn’t saving when I choose my midi controller midi in/out ports or something, so I have to re-do that each time.

Is there a way to re-save the script after I’ve selected my midi in/out ports?