added event to block commands