Add new functionality for writing results in an excel file. Use argparse module for parsing arguments