adding in better read and erase debug commands; removing obsolete maint script