updates to sql debugging files