You are totally right!
It behaved differently then i expected.
It actual replaces the string that's already there!
I imagined it would just add a new string and a new one and a new one for each time i ran the code.
Flooding the properties.
And in that case i would have to write a more complex code to see if a value is already there then if it was replace serten strings with new ones and bla bla bla bla
But this is perfect!
Thanks so much.
PS: this one seems tricky
octane_light_mask = 999
Looks like each combination of lightlinking have its uniqe "Code/number"
atleast from what i can see.