writing output to xls + trying to use averaged weights model