new update

update to SPS script.