[COOK-3911] Allow to use maxsize parameter.
[COOK-4000] Allow to use dateyesterday option.
Merge branch 'COOK-3911-maxsize-parameter'