setting event-globalattribs to 1 (script.php)