add support for html5ps pathing.