try {
            if (script.down) {
              result = await script.down(context, scriptLogger);
            }