Select database $1. Create column of datatype "SIMILARITY" named "SIM". Create column of datatype "$SMI" named "SMILES". Create column of datatype "$NAM" named "NAME". Create hitlist "hits". Reset. Put structures at least 0.6 similar to $2 into hits. Sort by similarity to $2. Free column "SIMILARITY". Print table from row 1 to row 10 entitled "Top 10 similar to "$2" in "$1.