adaptions to run pruning per category and use the configuration