public static String getAppPath(String type) throws UnsupportedEncodingException{
		String appRoot = "";
		String path = "";
		String slash = System.getProperty("file.separator");
		
		String jpath = new File(SBStringUtils.class.getProtectionDomain().getCodeSource().getLocation().getPath()).getParentFile().getPath();
		//File nFile = new File(jpath).getParentFile().getPath();
		appRoot = URLDecoder.decode(jpath, "UTF-8");
		Debug.print("Path: "+ appRoot);
		
		
		if (type.equals("data"))
			path = appRoot + slash + "src" + slash + "ca" 
				+ slash + "strangebrew" + slash + "data";
		else if (type.equals("icons"))
			path = appRoot + slash + "src" + slash + "ca" 
			+ slash + "strangebrew" + slash + "icons";
		else if (type.equals("recipes"))
			path = appRoot + slash + "recipes";
		else if (type.equals("help"))
			path = "file://" + appRoot + slash + "help" + slash;
		else if (type.equals("ini"))
			path = appRoot + slash;
		else
			path = appRoot;
		
		return path;
	}