added new scripts to fit and save final models