added pathof script