Run script on file upon adding to new folder?

edit: figured it out
question: i have hazel to run a script on new files only added to a folder...
however if i add a rule to delete the file after running the script it wont finish converting as it attempts to delete it...
how would i make a rule to dlete the file POST conversion?
question: i have hazel to run a script on new files only added to a folder...
however if i add a rule to delete the file after running the script it wont finish converting as it attempts to delete it...
how would i make a rule to dlete the file POST conversion?