updated references to root instead of current directory