Using legacy mode means the script won’t ask for a recipe when you run it. Instead it uses the settings in the script file itself. Originally, this was the only way to use the script and I’ve kept it for use in some automation workflows.
To begin using the script without recipes you need to change the setting legacy to this:
var legacy = true;
If you want the script to save the images after it’s run change the setting save to this:
var save = true;