added support for setting paths relative to root