adding a check to see if tfs exists.