[Olena-patches] last-svn-commit-176-g29c2a51 Fix the generation of the sps scripts.