changed run_example to make sure JMLR examples work