Set a new variable, bwlimit_writemax, based on the value of the bwlimit