added a generic script for classification