Actually use config.input and config.output.