adjust the directory