Modified settings to allow for DEBUG envvar