Safari favicons mess
I managed to solve the problem by deleting the whole Touch Icons Cache folder.
I then replaced manually the icons.

If I try to use the safari-favicons.sh code the problem shows up again. I guess I'll adapt.