input directory can now be either TIF or data directory