modified annotator script