add AddTmplVars for app