Added ability to pass in event names for begin/break