In the opening sequence it shows that the weapon was already on Voyager while it was still in dry dock.
The rest of the the episode shows that the weapon was placed on Voyager during a squirmish with the Kazon.
How did the weapon come to be on Voyager in dry dock 2 years earlier ?
