Added ability to configure root path