Maybe it is possible, with making a "check" if any settings was changed, and if there was changes done, the "Script" will then use ExitProcess. So it will save. Also for .lua files, if it is possible to detect if something was changed in Lua.ini, it will then again use ExitProcess, insted of Exit.