added option to delete single images