New script to do lifetime fit