a really bad hack around it would be to instead trying to source it, "source" it manually. so instead of calling the procedure, copy and paste the whole thing into the expression (that assumes it does not recursively call itself, which would be a slight problem ... ) and dont forget to use the cmd render