redirect scan output to console