I have not added the texture yet, but I created this improved code. The item "Dentyne....Gum" has the same name as the registry name and I think that it is not registering the name but the item. I don't really know but I am assuming that this makes the RegistryName useless. And do I need to do any of this on another file?
Thanks for all the info.