Boyin, Check out how to dynamically load script functions, it might solve your problem: http://grads.iges.org/grads/gadoc/gsf.html -- Kilian Hagemann Climate Systems Analysis Group University of Cape Town Republic of South Africa Tel(w): ++27 21 650 2748