add delete by query option to command line, and scratch pad for delete requests