Added run all infer and learn