Added category path generation in new helper