updated SAPS scripts