Adds template variables for sa1 and sa2