changed how the unpack command is formulated