detect phred script