I\'ve been using the script below to take a screenshot, save it to the persistent data path, then move it to the gallery and refresh the gallery.
When testing on Sams