Utilizing the same script for different versions of the same experiment does not work

Does this solution work for you?