def METHOD_NAME(self):
    logger.info("Loading script %s" % self.path)
    if self.ns:
        ctx.master.addons.remove(self.ns)
    self.ns = None
    with addonmanager.safecall():
        ns = load_script(self.fullpath)
        ctx.master.addons.register(ns)
        self.ns = ns
    if self.ns:
        try:
            ctx.master.addons.invoke_addon_sync(
                self.ns, hooks.ConfigureHook(ctx.options.keys())
            )
        except Exception as e:
            script_error_handler(self.fullpath, e)
        if self.is_running:
            # We're already running, so we call that on the addon now.
            ctx.master.addons.invoke_addon_sync(self.ns, hooks.RunningHook())