improved kws/ami/admin/delete.sh