Added %{arg} syntax to !TEMPLATE