write to specific output dirs