Set correct event command