add output directory.