Graham
Waplocus You cannot include xtscript into xtscript using xt include
to do that you need to use a xtscript include from a .xt file
it still has to be before you print the list and you are not using the same name for the list in the two scripts and $l1 and $l2 hold the two parts not $flist
You seem to be making it far more complicated than you need to