fixed the host_name endpoint fix for the production file