Add argument for intervals to argparse