Updated MLS R scripts to follow the common pattern in other data sources