Submit photoshop action

Hi,
I have a modified commandscript submitter, that has a photoshop droplet exe working as the executable. The droplet was created from a photoshop action, that has save and close at the end. Submitting a job to deadline it works with photoshop, does the action, saves the image, but it returns 1, and the task fails. How can I return 0, any advice?
The error message:
An exception occurred: Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage) (Deadline.Plugins.RenderPluginException)

Thanks,
Gabor

Hello,

Could I have you send over, either on the forums or to the support email, a couple things? First, the custom script, and second a job report from the job which had this happen? Thanks.

Cheers,