public static void main(String[] args){
		UCIParams p = new UCIParams();
		
		for(int a = 0; a < args.length; a++){
			try{
				if(args[a].equals("--hash")){ //sets main hash size (must be power of 2)
					p.hashSize = Integer.parseInt(args[++a]);
				} else if(args[a].equals("--pawnHash")){ //sets pawn hash size (must be power of 2)
					p.pawnHashSize = Integer.parseInt(args[++a]);
				} else if(args[a].equals("--no-info")){ //turns off chess.uci info printing (ie, pv, score, time, etc)
					p.printInfo = false;
				} else if(args[a].equals("--ignore-quit")){ //turns off handling of uci quit command (need C-c to shutdown)
					p.ignoreQuit = true;
				} else if(args[a].equals("--warm-up")){ //warm up the jvm
					p.warmUp = true;
				} else if(args[a].equals("--extras")){ //turn on console controller extensions
					p.controllerExtras = true;
				} else if(args[a].equals("--profile")){ //profile engine on passed fen file then exit
					p.profile = true;
					p.profileFen = args[++a];
				}
			} catch(Exception e){
				System.out.println("error, incorrect args");
				System.exit(1);
			}
		}
		
		new UCI(p);
	}