Thanks silentweed! your library is very helpful and your suggestion worked.

Do you know why loadVariablesNum does not work? Is it a deprecated term in F8?