Added support for the frequency parameter instead of always defaulting t...

...o daily ('d').