did some more work on Predicate, and added a couple Script commands