output directory usage improvement