Change all paths to be relative to root

#1553