Modified to work as standlone diff tool