new versions of sag and pdf templates