sam to fa covnert script and MosaicsPipe change