@SuppressWarnings("static-access")
	public void handle(CommandLine parser) {

		//Handle listing files
		if (parser.hasOption("ls")) {
			final File jenHome = new File(options.jenHome);
			if (jenHome.listFiles().length == 0) {
				log.info("No jen environments found.");
				return;
			}
			for (File f : jenHome.listFiles()) {
				log.info("{}",f.getName());
			}
		}
		
		//Increase verbosity
		if (parser.hasOption("v")) {
			ch.qos.logback.classic.Logger log = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(this.log.ROOT_LOGGER_NAME);
			log.setLevel(Level.DEBUG);
		}
		//Decrease verbosity
		if (parser.hasOption("q")) {
			ch.qos.logback.classic.Logger log = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(this.log.ROOT_LOGGER_NAME);
			log.setLevel(Level.ERROR);
		}
		
		//Install packages
		if (parser.hasOption("i")) {
			jd.process(parser.getOptionValues("i"));
		}
		
		//Change environment
		if (parser.hasOption("e")) {
			log.debug("Attempting to change environment to {}",parser.getOptionValues("e"));
			writeConfig(parser.getOptionValues("e"));
			log.info("Succesfully changed environment to {}",parser.getOptionValue("e"));
		}
		
		if (parser.hasOption("l")) {
			fs.makeLibs(parser.getOptionValue("l"));
		}
		
		if (parser.hasOption("m")) {
			fs.makeManifest(parser.getOptionValue("m"));
		}
		
	}