Batch process adds categories if they do not exist