save the arguments to the script in the h5 file