Include OCR in Profile - via CS Script?

From a java application I only get an image provided for PDFCreator.
As I need to access the Usertoken within that I need to do run OCR first and then push it to another profile, which then can access the usertoken.

Can someone help me / point me to a CS script, which uses the pdf file of the current job to do something to it and then reimport it / provide the changed PDF (including) OCR back to PRDcreator for further processing?

br Sebastian