Initial commit of script. License and doco still needed.