refactored code to insure all installs are completed before setting the configurations