You should be using Macro's to resolve paths. What I do is set up a tree node as a template. I use macro's to resolve all paths. Then I copy the node wherever I want and the path still resolves correctly. Read up on Path Expressions in the documentation.