Adding directorychecker