setver.R code updated for month legend