categorization script