Added STDIN in core_run_compare