Just thinking..
maybe if the script itself would be considered as a deployable resource? Then you would just copy it under deployments together with the EAR. It should work with the Eclipse Tools... Maybe for security reasons cli deployments could be turned of in production as an option for the deployment scanner...