Fixed warnings, changes to init_conf