Evertrue/eherot/add delete function

I know this is kind of a big PR for a small change, but I felt that doing it with fewer lines of change resulted in a much messier implementation (also I wanted to be able to test my new action).