This scripts are provided just in the way of giving ideas.  They
probably all need to be modified to suit your particular environment.
Beware!

John