fixed xgp implementation.-
improved PATH constant