Lawmakers make last-minute budget changes