Removed the WayPointTeam logic from the code