made small changes to python files