Added automatic selection of months and days upon page generation