fix for ROOT_PATH set to the distribute.sh instead the containing directory