} catch (InstantiationException e) {
throw new ConfigurationException("Could not create custom zipscript class", e);
}
break;
case 3: // shell
zipscript = new ShellZipscript(settings.get("/zipscript/shell/rescan"), settings.get("/zipscript/shell/upload"), settings.get("/zipscript/shell/delete"));
case 2: // pzs-ng
String zipscriptPath = settings.get("/zipscript/pzs_ng/path");
File f = new File(zipscriptPath);
if (!f.exists() || !f.isDirectory()) {