added day flag to specify a specific day of the month