legal-automation-script-v.2