Scripts to automate the process of data reduction and generates scientific products from XMM-Newton data