fixing encryption, and changing from urllib3 to urllib