Incremental retrieval of predicates in get_predicates scripts