Added support for reading in strings from scanner