It took some wrangling, many iterations and a flurry of action during the final night of the state Legislature, but a bill ...