Find Salt Bridges - improved script

I had found the 'Find Salt Bridges' script available from the drop-down menu Scripts > Structure Editing, to be not as useful as I would like it to be.

For example:
1. The distance monitor data table listed the distance between the pairs of charged atoms. But, without going into the molecule and investigating each individual instance, it was not possible to identify the residues that were involved in the potential salt brige. Now, two additional properties are created ('NegAtom' and 'PosAtom') that then list the chain:residue:atom for the residues in each potential salt bridge. These appear in columns in the distance monitor data table, making identifying and working with the different salt bridges much easier.
2. Each entry in the distance montior was (unhelpfully) given the Id of '0'; this is now set to be a number corresponding to the salt bridge number in the order it was identified.
3. The name of each distance monitor was just the default ''; it is now given a name corresponding to the residues involved.

These details are now also printed to the ouput of the script window.

Thanks to Marc Fasnacht (Accelrys) who answered my original post in the 'DiscoveryScript - general discussion' forum and posted a script that formed the basis for the improved script here.
Hopefully, someone else may find it useful too.

Trevor Lewis