new parse_events script