optional filtering additions to classifier script