Corrected ST_PDF and QSH_PDF from file to stream terminal_output