the script for running and comparing outputs