- improved checking for set-config command