How to set parameter Values can vary by group instance on dynamo created parameter for all categories

The issue wasnt resovled afterall… I want the python script to change all the parameters i feed it, not just the named ones.
I tried tinkering with the python script, but cant get it to work. It sais Completed when i run the script, but it doesnt change Value can vary by group instance.

Another thing… the script wont add parameters that already exsist in the parameter group.

SOLVED HERE! How do i set multiple parameters as "Value can vary by group instance" in dynamo?