Updated so only one set of recognition process is run.

Updated so only one set of recognition process is run.