--added support for modifydb.php to return tables from direct SQL queries