public static synchronized List<IPwFlag> loadFlags(List<String> flagList) {
		List<IPwFlag> flags = new ArrayList<IPwFlag>();

		for (String flag : flagList) {
			IPwFlag fl = SUPPORTED_FLAGS.get(flag);
			if (fl != null)
				flags.add(fl);
			else
				throw new RuntimeException("Unknown option: " + flag);
		}

		return flags;
	}