Apply dry_run variable via Freemarker templating rather than if statements in the R code