format set-configuration routine in util