Let <command> and <files> reference external URLs

xml is quite sensitive to characters in <command> section.  It especially becomes painful when trying to include shell commands that use "<>\$"  and probably a few others.

or alternatively make the scripts standalone files and in the tdl the list of files.