Added CLI support for the frequency parameter