Run event machine