|| arg.equals("-s") || arg.equals("--server")) {
serverMode = true;
pipeMode = false;
} else if (arg.startsWith("-c")) {
URI uri = new URI(arg.substring("-c".length()));
parser = new NetworkParser(uri);
} else if (arg.startsWith("--client=")) {
URI uri = new URI(arg.substring("--client=".length()));
parser = new NetworkParser(uri);
} else if(arg.startsWith("--create-profile=")){
profileName = arg.substring("--create-profile=".length());
type = CREATE_PROFILE;
} else {
pipeMode = false;