@Override
	public boolean performFinish() {

		String projectDir = one.getProjectDir();
		String testDir = one.getTestDir();
		String emmaPath = one.getEmmaPath();
		String androidDir = one.getAndroidPath();

		Properties prop = new Properties();
		try {
			prop.load(new FileInputStream("config.properties"));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

		prop.setProperty("PROJECT", projectDir);
		prop.setProperty("TESTPROJECT", testDir);
		prop.setProperty("EMMA", emmaPath);
		prop.setProperty("ANDROID_SDK", androidDir);

		try {
			FileOutputStream f = new FileOutputStream("config.properties");
			prop.store(f, "");
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

		if (runType == 1 && !ConfigWizardPageOne.isAdb) {
			ScriptGenerator scriptGenerator = new ScriptGeneratorAnt(projectDir, testDir, emmaPath, androidDir,
					"", "");
			scriptGenerator.setConfig();
			return true;
		} 


//		if (runType == 1 && ConfigWizardPageOne.isAdb) {	
//			
//			return true;
//		}

		String packageSelected = ConfigWizardPageTwo.packageSelected;

		if (runType == 2 ) {
		    int index = packageSelected.lastIndexOf('.');
		    String projPackage = packageSelected.substring(0, index);
			ScriptGenerator scriptGenerator = new ScriptGeneratorAdb(projectDir, testDir, emmaPath, androidDir,
			        "", "", projPackage, packageSelected);
			scriptGenerator.setConfig();
			return true;
		}

		if (runType == 3 ) {	
			ArrayList<String> testsSelected = ConfigWizardPageThree.getSelectedTests();
	         int index = packageSelected.lastIndexOf('.');
	         String projPackage = packageSelected.substring(0, index);
	         ScriptGenerator scriptGenerator = new ScriptGeneratorAdb(projectDir, testDir, emmaPath, androidDir,
	                    "", "", projPackage, packageSelected, testsSelected);
	         scriptGenerator.setConfig();
	         return true;
		}

		return true;

	}