Zend certified PHP/Magento developer

Output format of command piped to image is incorrect

Hopefully someone can help.
Here’s some backstory:
I needed to format the output of a command, so I could capture the image. This worked for a while, but after an update, or maybe some configuration change, the output is now incorrect.
This is the script I had used to get the output correct:

 faketty() {                                                                                                                                                                                                         
    script -qfec "$(printf "%q " "$@")" /dev/null                                                                                                                                                                 
  }

Here is the code: **Note that the variables are not relevant to this.

faketty sudo -u $usr /usr/local/bin/wp --no-color --path="${htmldir}"/ plugin update --all |awk '/Maintenance/,EOF'|tee >(convert -font Courier -pointsize 18 label:@- "${savdir}${url}_${curr_date}.plugins.png")

This is a sample of what the output should look like:
Correct Output

This is what the output is like now:
Incorrect Output

I have a feeling something in the script or printf commands, but I’m not sure. Any help would be appreciated.