Add relative document path support
Add document path and node value environment variables support