Merge legends

We now merge legend files in addition to report files (if they are present).

The temporary command can be removed once the other commit makes it into the cle snapshot.