public String checkCmd(String input)
	{
		input = cleanCmd(input);
		String cmd = null;
		for (int index = 0; index < cmdLst.size(); index++)
		{
			if (input.matches(cmdLst.get(index) + "\\b.*"))
				cmd = cmdLst.get(index);
		}
		
		if (cmd == "go")
		{
			for (int index = 0; index < goLst.size(); index++)
			{
				if (input.matches(cmd + "\\s+\\b" + goLst.get(index) + "$"))
						cmd=input;
			}
		}
		return cmd;
	}