Iam looking for an idea.

I have a client who have 53 cubes that use the dimension Version
I have to dev something that copie a version to another version for all the cubes.
Right now, the only solution i have is make 53 processus copy for each cube and 1 process MASTER to execute this 53 processus copy.
Another idea that i can thing about is make something "auto code" but i dont know how to make a string variable become the code TM1
For exemple
CubeName ='XXX';
CodeTM1= 'cellput('&CubeName&'.....&')'; ==> but how to make CodeTM1 work?
Is there another solution that can solve my case?

Thanks a lot !