Added revmatch functionality for run_executable