How to add calculated partial atomic charges into a cif file

Hello,

I have calculated the partial atomic charges from my crystal and I end up with a file containing charge infos, but now I want to automatically assign those charges to each atom in my cif file under a new loop called _atom_site_charge
any help will be invaluable :blush:,
Thanks all