Added options to handle meta events
Implemented meta events