add run_begin and run_end event