Adding isActive status based on history file designation D