Advocates say the new bill's language gives cities and towns flexibility to do things like create exemptions for first-time homebuyers or impose the fee at a lower threshold in areas where the county median home sales price is lower than the state's.