script to put similarity scalars into a pkl array;