fix output of new callback function. fix error handling with piped input. updated manual.