Modify the VI script to also include the randindex. Also, add a second mask script without padding the volume with zeros