added detection to config command disabling in config file