modified for manage_root and all parameters