configure_output_dir function

Configure Output Directory Name