History bugfix and addition of domain list flag