added get_process_instances script