working script to prepare a visual diff