add model history script