hi greg > So it would be good to have some feedback about whether this is moving > in the right direction. Thanks. just a hint: it would be much easier to give you feedback, if you could put the script and the input files in a git(hub) repository... ciao a.l.e