Remove queen and install her and cage between two frames. Set the bees down in the hive after removing 5 frames. Leave the top open so they can get out. Go back the next morning, smoke them, remove bee cage and install remainder of the frames. If some bees still in cage, set next to entrance with opening up. They will find their way in. Go back in 4 to 7 days and if she hasn't been released, then open queen cage and let her out. Be careful she doesn't fly away. If so, stand perfectly still and she will return to you or the hive.