add event to all commands