modified compare to enable comparison between 2 executables