add min/max to the template context
better dry-run