More edits to DBsql