tweeks to script to do leaf aanalysis from multiple sf files