added analytics and an agent screen