quick and dirty scripts for categorization and analysis