python scripts for data reduction with  mantid