Use requests and other improvements