Added runquery command