ButterflyModule module = this.scripts.get(url);
BufferedReader reader = null;
try {
Context context = Context.enter();
reader = new BufferedReader(new InputStreamReader(url.openStream()));
Butterfly.setScript(module, url, context.compileReader(reader, url.getFile(), 1, null));
_logger.info("{} reloaded", url);
Context.exit();
} finally {
if (reader != null) reader.close();
}