Added support for checking the configuration with the --check command-line