had a typo in hl7segment and a typo in my build.sh