update script exit and enable all assertions