major changes in HOL script