Hi Stephane, 
Happy to read you :-)
I have "strange message" at the end : 
An error occured while plugin 'EzPlug SDK' was running :
java.lang.ClassCastException: Cannot interpret 0-17 as an object of type class [Licy.roi.ROI;
    at plugins.adufour.vars.lang.VarMutable.setValue(VarMutable.java:176)
    at plugins.tprovoost.scripteditor.scriptblock.Javascript.run(Javascript.java:90)
    at plugins.adufour.blocks.lang.BlockDescriptor.run(BlockDescriptor.java:540)
    at plugins.adufour.blocks.lang.WorkFlow.run(WorkFlow.java:832)
    at plugins.adufour.blocks.lang.BlockDescriptor.run(BlockDescriptor.java:540)
    at java.lang.Thread.run(Unknown Source)
I'm wondering, if it's associated to local variable and global variable. 
Sometimes it's the same name ...