Thank you very much TIG. Although it doesn't do 100% of what i wanted, It's a lot better than manually reapply materials.
Regarding the rewriting the plugin, I wouldn't know a thing about it. I will very much appreciate if you could do it (I'm sure others will benefit from it as well)
Best