Corrected the here-document delimiter.

Refactored parcel "variable/type" for reduced redundancy.