Updated Socrates driver script to call filtering class. Also: bugfix on annotate