- added res_flux to flux variables.