public boolean initialize()
    {
        _bSendItemRequest_ip = CommandLine.booleanVariable("openItemStreams");
        _bSendPostAfterItemOpen_ip = CommandLine.booleanVariable("sendPostAfterItemOpen");

        // item names
        String itemList = CommandLine.variable("itemName");
        StringTokenizer st = new StringTokenizer(itemList, ",");
        while (st.hasMoreTokens())
        {
            String itemName = st.nextToken().trim();
            _itemList.add(itemName);
            _itemOpenCount++;
        }

        // post items
        String postInputFileName = CommandLine.variable("postInputFileName");

        try
        {
            FileInputStream fstream = new FileInputStream(postInputFileName);

            DataInputStream in = new DataInputStream(fstream);
            BufferedReader br = new BufferedReader(new InputStreamReader(in));

            String strLine;

            while ((strLine = br.readLine()) != null)
            {
                processPostConfiguration(strLine);
            }
            // }
            // Close the input stream
            in.close();
        }
        catch (Exception e)
        {// Catch exception if any

            System.err.println("Post Input File Error: " + e.getMessage());

            e.printStackTrace();

            return false;
        }

        boolean bDumpPost = CommandLine.booleanVariable("dumpPost");
        int i = 0;
        if (bDumpPost == true)
        {
            for (i = 0; i < _postList.size(); i++)
            {
                if (i == 0)
                {
                    System.out.println("Dump Post List");
                    System.out.println("*****************");
                }
                System.out.print((i + 1) + ". ");
                ((PostInfo)_postList.get(i)).dump(true);
            }

            if (i != 0)
                System.out.println("*****************");
        }

        return true;
    }