This is a script that I modified to convert a shell material to a standard material. I had been using some other scripts, but they were not working for me.
This has been invaluable for texture baking purposes. It's worked flawlessly for me every time. Now my textures can transfer to other applications with no errors.
Let me know if it's working for you all also.