remove no longer used atomic save
removed unused code
add interactive-replace