As requested, moved the config check to a very verbose proc named check_config_for_sec_maint()

Sorry this took so long.