String language = _bsfManager.getLangFromFilename(script.getFile().getName());
String language = BSFManager.getLangFromFilename(script.getFile().getName());
    public void addScript(String plugin, Hook hook, Script script, int position) {        try {             String language = _bsfManager.getLangFromFilename(script.getFile().getName());            if (language != null) {                script.setLanguage(language);                script.setEnabled(true);                hook.addScript(script, position);                fireScriptAdded(plugin, hook, script);            }        } catch (BSFException bsfe) {            _logger.warning("Language not supported " + bsfe);        }    }