Add result variable names when saving data