Thanks for responding, I know how the hubsites working, the problem is once I ran this script, the new theme added to the list, but after one hour all the themes are gone. I have a open ticket with support, but I just want to share this with a community.