Thanks for everyone's help. I got it to work.
Conclusion:
The script captures to an .ini file and then reads the file the next time to reset as default.
Thanks for the help