added ability to set texture path