private void execute() {
		if(newWorkspace == null && removedImports.size() == 0) {
			for(String newImport : addedImports) {
				doImport(newImport);
			}
			imported.addAll(addedImports);
			addedImports.clear();
			
			if(imported.size() > 0 && reloadImportButton != null)
				reloadImportButton.setEnabled(true);
			
			return;
		}
		//Restart required. 
		if(newWorkspace != null) {
			Settings.setProperty("workspace", newWorkspace.toString());
			evaluator.setWorkspace(newWorkspace);
			newWorkspace = null;
		}
		
		evaluator.clear(); //restart
		replPanel.clearScreen();
		
		imported.removeAll(removedImports);
		removedImports.clear();
		imported.addAll(addedImports);
		addedImports.clear();
		
		for(String toImport : imported) {
			doImport(toImport);
		}
		
		if(imported.size() > 0 && reloadImportButton != null)
			reloadImportButton.setEnabled(true);
	}