public static void load() {
		scripts.clear();
		File file = new File("./scripts/");
		try {
			URLClassLoader loader = new URLClassLoader(new URL[] { file.toURI().toURL() });
			for(String s : file.list()) {
				if(s.contains(".class")) {
					Class<?> clazz = loader.loadClass(s.replace(".class", ""));
					if(clazz.getSuperclass() == Script.class) {
						Script script = (Script) clazz.newInstance();
						scripts.put(script.getName(), script);
					}
					/*if(clazz instanceof Script.) {
						Script script = (Script) clazz;
						scripts.put(script.getName(), script);
					}*/
				}
			}
			loader.close();
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		Bot.getSingleton().getBotMenu().updateScriptMenu(scripts);
	}