added combined history script