set up logging
clean up output
cleanups
expect other states than running
set stage config