modified the annotator script