changing format of output dir