write result to status file if requested