public HashMap<String, ArrayList> revise()
    {
        HashMap<String, ArrayList> result = null;

        try
        {
            List<String> commands = new ArrayList<String>();
            commands.add("/bin/bash");
            commands.add("/home/" + System.getProperty("user.name") + "/" + this.POS_DIR + "/" + this.REVISE_SCRIPT_NAME);

            ProcessBuilder builder = new ProcessBuilder(commands);
            builder.directory(new File("/home/" + System.getProperty("user.name") + "/" + this.POS_DIR));
            builder.redirectErrorStream(true);

            Process process = builder.start();

            StringBuilder out = new StringBuilder();
            BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream()));
            String line = null, previous = null;

            while ((line = br.readLine()) != null)
            {
                if (!line.equals(previous))
                {
                    previous = line;
                    out.append(line).append('\n');
                    System.out.println(line);
                }
            }

            if (process.waitFor() == 0)
            {
                result = new HashMap<String, ArrayList>();

                File answer_file = new File("/home/" + System.getProperty("user.name") + "/" + this.POS_DIR + "/" + this.ANSWER_FILE_NAME);
                if(answer_file.exists())
                {
                    BufferedReader answer_file_reader = new BufferedReader(new InputStreamReader(new FileInputStream(answer_file), "KOI8-R"));
                    ArrayList<String> answer_array = new ArrayList<String>();
                    String answer_line = null;

                    while ((answer_line = answer_file_reader.readLine()) != null)
                    {
                        answer_array.add(answer_line);
                    }

                    result.put("answer", answer_array);
                }

                File check_file = new File("/home/" + System.getProperty("user.name") + "/" + this.POS_DIR + "/" + this.CHECK_FILE_NAME);
                if (check_file.exists())
                {
                    BufferedReader check_file_reader = new BufferedReader(new InputStreamReader(new FileInputStream(check_file), "KOI8-R"));
                    ArrayList<String> check_array = new ArrayList<String>();
                    String check_line = null;

                    while ((check_line = check_file_reader.readLine()) != null)
                    {
                        check_array.add(check_line);
                    }

                    result.put("check", check_array);
                }
            }
        }
        catch (Exception ex)
        {
            ex.printStackTrace();
        }

        return result;
    }