Changing directory length working