adding debug options to persist local xmls into database and to drop the tables