TM-align against whole PDB database?

Is there an existing script to run standalone TM-align against the whole PDB. I wish to obtain a similar output as provided in the I-TASSER server output :
Proteins with highly similar structure in PDB (as identified by TM-align)
Top 10 Identified stuctural analogs in PDB