changed output directory structure