some changes to the .py files