Added extra check for event types
Modified readme