Write a blender python script that, for each object in the scene, replaces all materials with names ending in '.001' with a material of the same name, but without the '.001' Your entire response should be in English, and in all capital letters.
user