It works now! Your script showed a space after the previews folder name and then I went and changed the folder from “Images” to “images”.
Thank you for that script and thank you for sticking with me on this!!! I can finally generate class notes from Drafts!!!