added an ability to overwrite default connection within query() and call() functions