add an output directory to master input