pick the correct archive