public void run(String args[]) {
    	
        LOG.info("SaveTVDownloadManager Version: " + VERSION + " is starting");
    	try {

    		Parameter.initialize(args);
      		if(Parameter.parameterOk()){
     			DownloadManager dl;
      			if(Parameter.isProxySet())
      				dl = new DownloadManager(Parameter.getProxyHost(), Integer.parseInt(Parameter.getProxyport()));
      			else
      				dl = new DownloadManager();
    	
      			// start parsing the application. main entry
      			dl.start();
    		
      		    LOG.info("SaveTVDownloadManager finished ");
      		} else {
    			this.printUsage();
    		}
      		
      		
    	} catch (Exception ex){
    		ex.printStackTrace();
    	}
    }