writing out scalings to yaml file