use ED instead of D. use rm -r instead of rm -rf, since -rf will always be successful