Add a “save as” to the action before processing and it will save the export settings. Make sure you designate the location.
I just learned about the script for image processing and it’s pretty great. Make sure you go through all the setting in the script and it should work correctly.
Best,
Andrew Kramer