public String getArgs() {
		int count = 0;
		
		for (int i = 0; i < targets.size(); i++) {
			Target curTarget = targets.get(i);
			curTarget.target.setArgument(curTarget.text.getText());
			if (!curTarget.target.getArgument().equals(""))
				if (valueOf(curTarget.repeat.getText()) > 0)
					count += valueOf(curTarget.repeat.getText());
		}
		
		String arg = "-targets " + count;
		for (int i = 0; i < targets.size(); i++) {
			if (!targets.get(i).target.getArgument().equals(""))
				for (int j = 0; j < valueOf(targets.get(i).repeat.getText()); j++)
				arg += " " + targets.get(i).target.getArgument();
		}
		
		return arg+"\n";
	}