actually use the -i/--index option in for the output path