Update config file
Multi-root management

Backport from Eric-CG
Enhanced by me