refactoring output dir name