chop driving slider value (using gal gadget mapping)

i have been using ui gadgets from the gal tox, which work great.
however, what i need is to be able to recall presets from a table/dictionary/json (through chops)
AND still let the user manually adjust the sliders afterward.
similar, i believe to what niraah was asking about here:
viewtopic.php?f=27&t=11334

i tried to use the mapping as mentioned by greg. this sounds like it should do what i want, but i can’t seem to get the chop mapping to work. if anybody has gotten chop mapping to work with gal gadgets, please let me know what i am doing wrong.
i’ve attached is a simple example toe
chop2slider.toe (140 KB)

i took the mapping logic out of gal/ and put it in my main comp.
it is almost working. the command being generated by the chopexec looks right, but it is having an exception on the line:
run(eval(cmd))

cmd is a statement like this:
op(‘slider1’).par.Value1 = 0.0 + val * 1.0

and if i run that as a script with a supplied val value, it works as expected.
if i add the run(eval(cmd)), it complains about needing a string.
if I cast to a string - run(eval(str(cmd)))
it runs perfectly.
when i put this into the chopexec, it doesn’t work.
chop2slider.toe (142 KB)

i ended up hardcoding the chop execute with a bunch of if statements. not elegant, but works.

if anyone has ideas on why the run(eval()) statement isn’t working, i would be happy to hear them.