some work towards propper path conversion using rex again