Added events and ant behaviour toggling