Updating legacy variable substitution

from deprecated $var to {{ var }}