xGetUTR
several fix on old scripts