By the way, the script to which you gave the link does not run... It seems that something from the Java code is not rewritten to the Java script code
Yes .. I know. That is only because security reasons as the program needs to be able to write the image file. You can still download it and use it locally. It actually contains a stand-alone executable jar file in the scenario folder for convenience.