docs: private void loadScriptTemplates(ScriptType type, ScriptEngineWrapper engine) {
  		File locDir = new File(Constant.getZapHome() + File.separator + TEMPLATES_DIR + File.separator + type.getName());
  		File stdDir = new File(Constant.getZapInstall() + File.separator  + TEMPLATES_DIR + File.separator + type.getName());
  		
  		// Load local files first, as these override any one included in the release
  		if (locDir.exists()) {
  			for (File f : locDir.listFiles()) {
  				loadTemplate(f, type, engine, false);
  			}
  		}
  		if (stdDir.exists()) {
  			for (File f : stdDir.listFiles()) {
  				// Dont log errors on duplicates - 'local' templates should take presidence
  				loadTemplate(f, type, engine, true);
  			}
  		}
  	}