created script to measure MTF