scale_adjust function

Adjusts a configuration