Added ability to use sql queries