Changed getting values for PATH method