Added new way of trying to change directory.