Added option to script using java (beanshell)