private static String getTarget(String s) {
        boolean onMod = s.toUpperCase().contains(" ON ");
        boolean withMod = s.toUpperCase().contains(" WITH ");
        if (!(onMod || withMod)) {
            return "";
        }
        
        if (s.toUpperCase().split(" ON ").length > 1) {
            s = s.toUpperCase().split(" ")[3];
        }
        for (String t : (onMod) ? targets : (withMod) ? items : new String[0]) {
            if (t.equalsIgnoreCase(s)) {
                return t;
            }
        }
        return "ERROR:" + s;
    }