Added event for commands