Updated lmajor statistics script