Adding python3 support