Changed to use RunMode vs. AppConfig.String call