private void loadScripts() throws IOException {
		BufferedReader cfg = new BufferedReader(new FileReader(world.getWorkingDirectory() + "data/script_list.txt"));
		try {
			int lineNumber = 0;
			String line;
			while ((line = cfg.readLine()) != null) {
				if (line.startsWith("#") || line.trim().length() == 0) {
					continue;
				}

				Script script = null;
				script = scripts.initScript(line.trim());

				if (script == null) {
					System.err.println("Failed to load script (line #"
							+ lineNumber + ") : " + line);
				} else {
					try {
						script.initialize(this);
					} catch (Exception e) {
						System.err.println("Failed to initiate script (line #"
								+ lineNumber + ") : " + line);
						e.printStackTrace();
					}
				}

				lineNumber++;
			}
		} finally {
			if (cfg != null) {
				cfg.close();
			}
		}
	}