Fixed a problem with legacy xmds script not importing the sampling groups