Update to phenotype script regarding SAM module