move postprocessing tasks to postprocess function
quote selectors in log output