I said "should" because I don't take into account the fact that you can comment out lines (sections) in an ini file with a ";".

By the way, won't your script insert a blank line at the beginning of your new ini?
_________________________
Eric