close #39 - rewrite relative paths