Got rid of print message of rootdir variable