Fixed some docblocks
Separated the scripts events in 2 arrays because they need to be called by different dispatchers.