minor bug fix:  the open-uri read statement is now called withing the block