Fix quotes within terminal array
Do a better job of fixing quotes in terminal array