Updated subroutine set_oned_conf