Finally get the files_differ right
get the update_config_file right: two levels of here-doc-execs and patch
Replace all 'condition && action' to 'if-then-fi' constructs as they are more safe across shells
Update documentation and remove a reference to unused stat command