Expressions for referenced files

I have a expression that changes the pp goal weight of a softbody particle i.e.

particle -e -or 2 -at goalPP -fv 0.25 Braid_CurveParticle;

There is a lot more to te expression than just this line, but it shows the problem.

The big problem with expressions like this is that I need to use the object name in the expression. The file this expression is used in ( a rigged character) is going to be referenced in another scene file and so the name changes. With basic expression like objectA.rotateX = objectB.rotateX the object names are updated with the reference name, but a more complex command like the above particle command dosn't get updated so the referenced file can't find the object.

Anyone know a way arround this?

Thanks,

Richard