Added duration option to the command line interface which defaults to 20sec