changed Y axis title. also added root directory checks