Adding smart script to replace make_tifs.sh