Fix for having no config file

This is for running without a config file. This change checks for a Settings section, which won't exist because the config file does not exist, otherwise exceptions are thrown and the script will not run.