modified config to allow external domains