What to use to replace the string with putty on it to hold the plastic

I just used heavy duty garbage bags like for a 55 gal. The thicker the better and dumb dum from Napa about 1/4 x 15” long. Works great.