adding the -x flag
introduce 'examine' variable, default to zero, one if set
write a log of settings values at each step
triggering the settings review at additional steps
some final validation and minor error correction