Hello! First of all I would like to thank Bruce for answering my questions. As a beginner I very much appreciate your help. Now I am trying to compare my results using two possible ways of doing EXAFS analysis : 1. Artemis 2. ifeffit command line (loading input files) Here is my question: When I use ifeffit commands it is not clear to me how to assing different kmin/kmax (rmin/rmax) values to different data sets in a multiple data set fit. My current understanding of the problem is as follows: As ifeffit documentation says all variables are global. At the same time ifeffit tries to evaluate all parameters of feffit() command first and does the fit only after determination of kmin kmax rmin rmax. What happens is that the last given values are assigned to these variables. Could somebody show me an example of a script that allows to assing different values of kmin kmax rmin and rmax for different data sets? Stanislav