Script updated to work with version 1.111 of CKII