added function that saves LASSO workspace and history.