expr#genscript returns string if stream is not specified
updated document