changes to saps scripts