Made Command on Event work.