Replaced a hardcoded subdomain with the appropriate config var