def METHOD_NAME(auth_header: str, silent: bool = False) -> list:
    """Download default and personal routines.
    Parameters
    ----------
    auth_header : str
        The authorization header, e.g. "Bearer <token>".
    silent : bool
        Whether to silence the console output, by default False
    Returns
    -------
    Dict[str, str]
        The routines.
    """
    personal_routines_dict = {}
    default_routines_dict = {}
    try:
        response = Hub.get_default_routines(silent=silent)
        if response and response.status_code == 200:
            content = response.json()
            data = content.get("data", [])
            for routine in data:
                name = routine.get("name", "")
                if name:
                    default_routines_dict[name] = [routine.get("script", ""), "default"]
    except Exception:
        console.print("[red]\nFailed to download default routines.[/red]")
    try:
        # Number of routines downloaded is limited to 100
        response = Hub.list_routines(
            auth_header=auth_header,
            fields=["name", "script"],
            page=1,
            size=100,
            base_url=Hub.BackendEnvironment.BASE_URL,
            silent=silent,
        )
        if response and response.status_code == 200:
            content = response.json()
            items = content.get("items", [])
            for routine in items:
                name = routine.get("name", "")
                if name:
                    personal_routines_dict[name] = [
                        routine.get("script", ""),
                        "personal",
                    ]
    except Exception:
        console.print("[red]\nFailed to download personal routines.[/red]")
    return [personal_routines_dict, default_routines_dict]