Use Requests library and other small modifications.