Modified delete command