Added support for text command to use read preference #1019