Thanks for looking at it. After changing preferences.txt I was able to get it to run on Windows 11. When I try the same thing on a Mac it fails because I have to close Processing and restart it to have the preference changes to take effect. When I run the code a second time and check the preferences.txt file it was overwritten on the restart and no longer contains the appended run.options= field. It appears that the run.options additional code will solve the error problem if I could only get the changes to ‘stick’ on a Mac.