Added command line arguments in order to handle the trends processor.