output file in args for index added