Added changes to the python3 file aswell