Enhanced SCM module by get_root function