Added option to delete existing image