finish the "dispatch the event" script