break the host entry up to avoid line limits

also caught a bug where we werent assigning