Added query 'all' and interactive deletion