fix the bug of saving all input variables
include the result of the first exp, and the script of the second exp