changes to ksScript ObjectSystem