reworked the form to use a local script rather than attempting to use the existing service