added run_query to dbconnect