Get delete command to work from console for structures