Modified to handle processing for different roles..annotator and intaker