Refactor to programatically change the lset_name