Update to use python3 libraries