Changes to allow the script to be run again on the same system without reapplying existing configurations.