Added session id info in temp history usage script