added res scat variables to template files