modified output directory parse