Keep unused variables in idx.
Use argparse in the reports module.