Update index.json at time of generation, not when I create a category
Added colour printing for basic messages