You should probably replace $xlateInVals with [lindex $xlateInVals 0] seeing as how it’s a list being passed to a command that expects a string. I’m not sure if that’s the cause of the problem. Have you tried echoing out $xlateInVals to see what it looks like?