- added detection if one or more queries have to be executed - added output summary fro multiple queries