added event name to add_to_command and is returned from process