Removes new event code and reinstates old event code.