weren’t writing to the correct outdirectory