Runs querys added to ntec tool and return results in xml format