Refined jh.py init_root