Add scale_flux option in config