Have you defined the variables in master script? I just had a similar problem where I tried to request a parameter value from an object for a label and use this value in a paragraph. It did not work when I did the request and variable definition in the 2d script, but when I placed the request and variable definition in master script, the paragraph started working like magic...
--EDIT
I spoke too soon, in my overwhelming enthusiasm. This does not work. Crap. If anyone knows how to get a string variable actually working inside a paragraph, please share your wisdom.
--EDIT2
It seems that in my case the paragraph variable did not work because the variable I used was not initialized as a string. I got it to working now.
You might try initializing your stringValue1 and stringValue2 (before the paragraph part) as follows:
stringValue1=""
stringValue2=""
(Sorry about the extensive editing
)