Changing paths to be relative to root