add prioritisation and dir index to path references