{% for category, script_names in scripts_by_category.items() %}
{{ category }}
{% for script_name in script_names %}
{% if script_name in script_map %}
{% set script_config = script_map[script_name] %}
{% if script_config is string %}
{# Simple command with no county selection #}
{% elif script_config is mapping %}
{# County-specific commands #}
{% if 'lake' in script_config %}
{% endif %}
{% if 'sumter' in script_config %}
{% endif %}