Update also the scripts to create friend trees (including support for vectors)