Updated WebsiteAgent to receive events