I am attaching the patch with this email. The fixes were about the code optimizations in the Python scripts. These were mainly about file handling and this patch addresses the issues with file handling. Some of the files that were opened by the script were not closed. There has been an addition to the code optimization by using "with" statements providing more readable code.