Added new version of structural comparison script