Set<String> domainPackagesNames) throws ScriptException, IOException, InterruptedException {
Subject user = config.subject;
LocalClient client = new LocalClient(user);
StandardBindings bindings = new StandardBindings(output, client);
bindings.put("alert", alert);
ScriptEngine engine = takeEngine(bindings, language, domainPackagesNames);
engine.getContext().setWriter(output);
engine.getContext().setErrorWriter(output);