Scripts/Azuregos: converted to EventMap