Prepare Hex package