Added the history script