public String remVer(String str){ //remove version at the end of the mod name
		str = str.replace(".zip","");
		if(str.contains("_")){
			if(str.contains(".")){
				String[] temp = str.split("_");
				if(temp.length==2){
					//con.log("Debug",temp[0]);
					return temp[0]; //return first split because we had a version
				}
				else if(temp[temp.length-1].contains(".")){ //make sure the mod doesnt have extra _ in the name
					String sb = "";
					for(int i=0; i<temp.length-1; i++){
						sb += temp[i];
						if(i<(temp.length-1)){ 
							sb+="_";
						}
					}
					//con.log("Debug",sb);
					return sb;
				}
			}
		}
		//con.log("Debug",str);
		return str;
	}