Commit of working script

I got permission from my manager at Alfresco to release this script under my own
copyright. But I didn't include the history because there was some internal
information there.