managing events received is done on the script with a class deriving from eventreceivergae