Add call to PreCommandEvent when console executes command