it had been an enormous pain in the ass to wrap fireworks in plastic to waterproof them against the rain , and even more of a pain to make sure that a waterproof match was attached to each of the rockets , roman candles , and miniature mortars .