Evaluate TALES in custom command script.

Fixes ZEN-10426.