issue #4
adding modification to ensure that the appropriate version number is returned in the hisotry

Signed-off-by: Kunal Shroff <shroffk@bnl.gov>