combine stdout and stderr
support multiple configs
pep8