Added entry deletion option
Added missing statement execution line