let find_plugin plugin_name = List.find !global_list_of_plugins (fun (n, _) -> n = plugin_name) |> Option.map ~f:(fun (_, m) -> m)