Fixed path issue when calling from other directories using PATH