Added some features to erasure_tool (for school)