remove legacy code in lasso/LR script files.