added cfg_wrapper.py