private void getFavorites(String name, StringTokenizer scriptReader)
			throws Exception {
		ManagerSession rental = getNewManagerSession(name);
		while (scriptReader.hasMoreTokens()) {
			String pars = scriptReader.nextToken();
			String favorite = null;
			List<String> favorites = Arrays.asList(pars.split("/"));
			if (name.equals("CRA")) {
				favorite = getMostPopularCarRentalCompany(rental);
				if (favorites.contains(favorite)) {
					System.out.println(name
							+ " has correct favorite car rental company: "
							+ pars + " " + favorite);
				} else {
					System.err.println(name
							+ " has wrong favorite car rental company: " + pars
							+ " " + favorite);
				}
			} else {
				favorite = getMostPopularCarTypeIn(rental, name).getName();
				if (favorites.contains(favorite)) {
					System.out.println(name
							+ " has correct favorite car type: " + pars + " "
							+ favorite);
				} else {
					System.err.println(name + " has wrong favorite car type: "
							+ pars + " " + favorite);
				}
			}
		}
	}