Fixed issue with the program automatically finding the top level directory path.